package com.git.bcs.common.bean.properties;


import java.util.Properties;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import com.git.bcs.common.utils.Constants;


@Configuration
@ConfigurationProperties(prefix=Constants.BEETL_PRIFIX)
public class BeetlProperties {
	
	private static Logger logger = LoggerFactory.getLogger(BeetlProperties.class);

	
	@Value(value="${spring.mvc.view.prefix}")
	private String Prefix;
	
	public String getPrefix() {
		return Prefix;
	}
	
	private String delimiterStatementStart;

    private String delimiterStatementEnd;

    private String resourceTagroot;

    private String resourceTagsuffix;

    private String resourceAutoCheck;
    
    
	


	public Properties	getProperties() {
		Properties properties = new Properties();
		
		properties.setProperty("DELIMITER_STATEMENT_START", delimiterStatementStart);
		properties.setProperty("DELIMITER_STATEMENT_END",delimiterStatementEnd);
		properties.setProperty("RESOURCE.tagRoot", resourceTagroot);
		properties.setProperty("RESOURCE.tagSuffix", resourceTagsuffix);
		properties.setProperty("RESOURCE.autoCheck", resourceAutoCheck);
		return properties;
	}
	
	
	public String getDelimiterStatementStart() {
		return delimiterStatementStart;
	}




	public void setDelimiterStatementStart(String delimiterStatementStart) {
		this.delimiterStatementStart = delimiterStatementStart;
	}




	public String getDelimiterStatementEnd() {
		return delimiterStatementEnd;
	}




	public void setDelimiterStatementEnd(String delimiterStatementEnd) {
		this.delimiterStatementEnd = delimiterStatementEnd;
	}




	public String getResourceTagroot() {
		return resourceTagroot;
	}




	public void setResourceTagroot(String resourceTagroot) {
		this.resourceTagroot = resourceTagroot;
	}




	public String getResourceTagsuffix() {
		return resourceTagsuffix;
	}




	public void setResourceTagsuffix(String resourceTagsuffix) {
		this.resourceTagsuffix = resourceTagsuffix;
	}




	public String getResourceAutoCheck() {
		return resourceAutoCheck;
	}




	public void setResourceAutoCheck(String resourceAutoCheck) {
		this.resourceAutoCheck = resourceAutoCheck;
	}



	
	

	

	


}
